package com.search;

import java.util.ArrayList;
import java.util.HashMap;
import java.util.Map;

import com.data.JDoc;

public class QueryResult {

	private Map<Integer, JDoc> result;
	private Map<Integer, Float> scores;
	private ArrayList<Integer> ranking;

	public QueryResult() {
		result = new HashMap<Integer, JDoc>();
		scores = new HashMap<Integer, Float>();
		ranking = new ArrayList<Integer>();
	}

	public Map<Integer, JDoc> getResult() {
		return result;
	}

	public void setResult(Map<Integer, JDoc> result) {
		this.result = result;
	}

	public Map<Integer, Float> getScores() {
		return scores;
	}

	public void setScores(Map<Integer, Float> scores) {
		this.scores = scores;
	}

	public ArrayList<Integer> getRanking() {
		return ranking;
	}

	public void setRanking(ArrayList<Integer> ranking) {
		this.ranking = ranking;
	}

}
